# -*- coding: utf-8 -*-

'''
Topology:

               cisco        +---------+        ADC
              +-------+     |  DUT    |      +-------+
      +-------+router1+-----+         +------+router2+-------+
      |       +-------+     +---------+      +-------+       |
  +---+--+         g0/2   ge0/1      ge0/2   ge0/0        +--+---+
  |client|                                                server |
  +------+                                                +------+
'''
device_type = ['T1-ADC', 'CISCO', 'T1-FW', 'HUAWEI']

#describe  {device host name : mgmt ip}
dut = {'hostname':'fw_test', 'type':'T1-FW', 'mgmt':'172.16.1.32', 'controller':None}
router1 = {'hostname':'Switch', 'type':'CISCO', 'mgmt':'172.16.1.33', 'controller':None}
router2 = {'hostname':'ADC', 'type':'T1-ADC', 'mgmt':'172.16.1.34', 'controller':None}

vlan_left = 50
vlan_right = 30
vlan_bridge = 10
trunk_id_left = 10
trunk_id_right = 11

mask = 24
vlan_left_dut_ip = '50.1.1.1'
vlan_right_dut_ip = '30.1.1.1'
vlan_left_router1_ip = '50.1.1.2'
vlan_right_router2_ip = '30.1.1.2'
vlan_bridge_router1_ip = '10.1.1.1'
vlan_bridge_router2_ip = '10.1.1.2'

prefix = 64
vlan_left_dut_ip6 = '5000::1'
vlan_right_dut_ip6 = '3000::1'
vlan_left_router1_ip6 = '5000::2'
vlan_right_router2_ip6 = '3000::2'

dut_connect_desc = {
                 'fw_test':{
                          'left_interface':'ge0/1-Switch-g0/2', 
                          'right_interface':'ge0/2-FW-ge0/0'
                          }, 
                }

if_type_bridge = [  'trunk tag vlan', 'trunk untag vlan', 'tag vlan', 
           'untag vlan']

if_type_router = ['trunk',  'trunk tag vlan', 'trunk untag vlan', 
           'tag vlan', 'untag vlan', 'physic']

